import { CSSProperties } from "react";
import { ScssSizeType } from "../../types/scss";

/**
 * 按钮
 * @param {string} style 样式
 * @param {string} text  文字
 * @param {string} size  大小
 * @param {string} color 颜色
 */
export type ButtonType = {
  style?: CSSProperties,
  text: string,
  size?: ScssSizeType,
  color?: string,
  radius?: boolean,
  handle: { (): void },
}